package day5;

public class Demo6 {
    
    public static class Lesson{
        public String name;
        public int score;
        
        public Lesson(String name){
            this.name = name;
        }
    }

    public static void main(String[] args) {
        Lesson c = new Lesson("c语言");
        Lesson java = new Lesson("java编程");
        Lesson php = new Lesson("php编程");
    }
}
